package com.crm.system.service.permissionManagement;

import com.crm.common.model.DhPageInfo;
import com.crm.model.vo.permissionManagement.SysPermissionGroupVO;

/**
 * @Author wll
 * @Date 2020/12/7 16:09
 */
public interface SysPermissionManagementService {
    /**
     * 添加权限组
     */
    void insertSysPermissionGroup(String createSysPermissionGroupJson,String accountId,String permissionGroupId);

    /**
     * 根据条件分页查询权限组名单列表
     *
     * @param pageIndex
     * @param pageSize
     * @param searchInfo
     * @return
     */
    DhPageInfo<SysPermissionGroupVO> getPermissionManagementList(Integer pageIndex, Integer pageSize, String searchInfo);

    void delPermissionGroup(String permissionGroupId);
}
